﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="tour_cung_loai.ascx.cs" Inherits="Mycontrol_san_pham_cung_loai" %>
 <div class=c2 style="margin-top:10px">
                <span>Tour cùng loại</asp:Label></span>
                </div>
                <asp:Label ID=lb_messenger runat=server CssClass=lb_messenger></asp:Label>
        <asp:DataList ID="datalist_san_pham" runat="server" RepeatColumns="3">
            <ItemTemplate>
                <div class="product_box margin_r20">
                    <a href="/tour/<%# Eval("tour_id") %>/<%# Utils.GetTitle(Eval("ten_tour").ToString()) %>.html">
                        <img src="/images/<%# Eval("anh_nho") %>" alt="Website đặt tour du lịch" width="220" height="165"></a>
                    <h3>
                        <%# Eval("ten_tour")%></h3>
                    <p class="price">
                        Giá thị trường: <span><%# int.Parse(Eval("gia_thi_truong").ToString()) == 0 ? Constants.LIEN_HE : Eval("gia_thi_truong", "{0:0,0" + Constants.LOAI_TIEN + "}")%></span></p>
                    <p class="price">
                      Số ngày: <span><%# int.Parse(Eval("so_ngay").ToString()) == 0 ? Constants.LIEN_HE : Eval("so_ngay", "{0:0,0" + Constants.NGAY + "}")%></span>
                      Số đêm: <span><%# int.Parse(Eval("so_dem").ToString()) == 0 ? Constants.LIEN_HE : Eval("so_dem", "{0:0,0" + Constants.DEM + "}")%></span>
                    </p>
                    <a href="/tour/<%# Eval("tour_id") %>/<%# Utils.GetTitle(Eval("ten_tour").ToString()) %>.html" class="detail">Chi tiết</a><%--<a href="#" class="addtocard">Add to cart</a>--%>
                    <div class="cleaner">
                    </div>
                </div>
            </ItemTemplate>
        </asp:DataList>
        <div class="cleaner">
        </div>